/*
 * Copyright (c) 2019 , Healthlink All Rights Reserved.
 */

package com.mayday.system.domain;

import com.alibaba.fastjson.JSON;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 *
 * 流程列表数据vo
 * @author lxq
 * @version 1.0
 * @date 2020/4/19 14:28
 * @since JDK 1.8+
 */
@Setter
@Getter
public class ProcessdefVo implements Serializable {

    private static final long serialVersionUID = 4696376722788300835L;

    private String name;
    private String key;
    private String defId;
    private String tenantId;
    private String deploymentId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp deployTime;
    private Integer version;
    private String category;
    private String bpmnXml;

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
